﻿using Dapper.Contrib.Extensions;

#nullable disable

namespace Tauren.File.Entity.Model
{
    [Table("filefolder")]
    public class FileFolder : EntityBase
    {
        [Key]
        public virtual long AutoId { get; set; }
        public virtual long ParentId { get; set; }
        public virtual string CNName { get; set; } = "";
        public virtual string ENName { get; set; } = "";
        public virtual string Code { get; set; } = "";
        /// <summary>
        /// 文件地址
        /// </summary>
        public virtual string Path { get; set; } = "";
        /// <summary>
        /// 所属类型--组织/单位/个人
        /// </summary>
        public virtual string FolderType { get; set; } = "";

        /// <summary>
        /// 所属类型ID
        /// </summary>
        public virtual int OrgId { get; set; }
        public virtual bool Enable { get; set; }
        public virtual bool HaveDelete { get; set; }
        public virtual double? Sequence { get; set; }
    }
}
